<template>
 <div class="home">
<top-nav class="nav"></top-nav>
    <div class="banner">
      <div class="logo"><img src="../assets/logo.png" alt="" /></div>
      <div class="intro">
        <h1>轱辘UI</h1>
        <h2>基于Vue3和JavaScript的UI框架</h2>
        <div class="links">
          <router-link to="./doc">查看文档</router-link>|
          <a href="https://gitee.com/specter404/zyfwheel.git">查看源码</a>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import TopNav from '../components/common/TopNav';
export default {
  components:{
    TopNav
  }
}
</script>
<style scoped>
.home{
  background-color: lightgreen;

}
.logo{
 display: flex;
 justify-content: center;
 align-items: center;
}
.intro{
  text-align: center;
}
.links{
  text-decoration: none;
}
.links a{
color:black

}
.links a:hover{
color:pink
}
.nav{
  position: absolute;
  z-index: 10;
  width: 100%;
  top: 0;
}
</style>